package com.oepm.dao.mapper;

import com.oepm.dao.entity.TeacherDemoApplicationPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeaDemoFormMapper {

    //申报题目(老师端)
    public int addTeaDemoForm(TeacherDemoApplicationPo teacherDemoApplicationPo);

    //查询已申报项目
    public List<TeacherDemoApplicationPo> selectTeaForm(@Param("userid") String userid);

    //删除未审核，及审核未通过的题目
    public int deleteTeaDemoForm(@Param("id") String id);

    //修改未审核，及审核未通过的题目
    public int updateTeaDemoFrom(TeacherDemoApplicationPo teacherDemoApplicationPo);

}
